<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<%@ include file="/commons/meta.jsp" %>
	<script type="text/javascript">
		$(document).ready(function() {
	
			$("#startBtn").click(function() {
				$("#proxyRequest").attr("action", "start-scan-check.do").submit();
			});
	
			$("#stopBtn").click(function() {
				$("#proxyRequest").attr("action", "stop-scan-check.do").submit();
			});
	
		});
	</script>
</head>
<body>
	multithreaded proxy scan and check system
	<br />
	<br />
	<form:form method="POST" commandName="proxyRequest" action="start-scan-check.do">
		IP CLASS:
		<form:select path="ipClass">
		   <form:option value="all" label="ALL_CLASS"/>
		   <form:option value="a" label="A_CLASS"/>
		   <form:option value="b" label="B_CLASS"/>
		   <form:option value="c" label="C_CLASS"/>
		</form:select>
		THREADS:
		<form:input	path="threadCount" size="10" />
		WORDS:
		<form:input	path="keyWords" size="30" />
		<br />
		<br />	
		<input type="button" id="startBtn" value="Start" <c:out value="${proxyRequest.startButtonCss}" /> />
		<input type="button" id="stopBtn" value="Stop" <c:out value="${proxyRequest.stopButtonCss}" /> />
		<a href="test.do">test</a>
		
	</form:form>
</body>
</html>